import request from '@/utils/request'

// * 查看一体杆列表
// */
export function getLibiaoAPI(params) {
  return request({
    url: '/pole/info/list',
    params
  })
}
// 添加一体杆
export function getTianjiaAPI(data) {
  return request({
    url: '/pole/info',
    method: 'POST',
    data
  })
}

// 删除
export function getdelaboutAPI(ids) {
  return request({
    url: `/pole/info/${ids}`,
    method: 'DELETE'
  })
}
// 编辑
export function geteditAPI(data) {
  return request({
    url: '/pole/info',
    method: 'PUT',
    data
  })
}
